﻿--[[
   @brief    Game record tips desc
   @author   jameszhai
   @version  1.0
   @date     2017-01-08
--]]

gamerectips_desc = {
    module_name = 'mvc_module',
    events = 
    {
        {
            c_event = 
            {           
              {
                  id = ierd_tgp.login_mgr.LOGIN_ON_LOGIN_SUCCESS,
                  callback = 'TGMRecTipsCtrl.OnLoginOK'
              },
              {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_START,
                    callback = 'TGMRecTipsCtrl.onGameStart'
              },
              {
                    id = ierd_tgp.game_mgr.GAME_MGR_GAME_END,
                    callback = 'TGMRecTipsCtrl.onGameEnd'
              }
            },
            listen_broadcast = 
            {
                {
                    id = 'BrcSrceenShotInGameNotify',
                    callback = 'TGMRecTipsCtrl.ReceiveScreenShotNotify'
                },
                {
                    id = 'BrcRecordVideoInGameNotify',
                    callback = 'TGMRecTipsCtrl.ReceiveRecordVideoNotify'
                },
            },
            lua_file = "game_video\\control.lua"
        }
    }
};

desc_mgr.add(gamerectips_desc);
ierd_tgp.tpf_ui.Require("game_video\\control.lua");